package com.go.where.family.dao.impl;

import org.springframework.stereotype.Repository;

import com.go.where.family.dao.CustomerClientDao;
import com.go.where.family.pojo.CustomerClientInfo;

@Repository("customerClientDao")
public class CustomerClientDaoImpl extends
		BaseDaoImpl<CustomerClientInfo, String> implements CustomerClientDao {

	@Override
	public String getNameSpace() {
		return "mybatis.xml.CustomerClientMapper";
	}

	@Override
	public CustomerClientInfo queryByPrimaryKey(String customerId) {
		return this.getSqlSession().selectOne(
				getNameSpace() + ".selectByPrimaryKey", customerId);
	}

}
